package com.example.demo;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * @author 杜云山
 * @date 2021/03/01
 */
@EnableScheduling
@SpringBootApplication
public class BookHotelApplication {

    public static void main(String[] args) {
        // -Djava.util.concurrent.ForkJoinPool.common.parallelism=8
        System.setProperty("java.util.concurrent.ForkJoinPool.common.parallelism", "50");
        SpringApplication.run(BookHotelApplication.class, args);
    }

}
